﻿using System;
namespace 手机项目;
class Program
{
    static void Main()
    {
        phone []phones=new phone[3];
        for (int i =0;i<phones.Length;i++)
        {
            phones[i]=new phone();
        }

        phones[0].拥有者="cjq";
        phones[0].型号="vivo x30";
        phones[0].号码="180";

        phones[1].拥有者="hjm ";
        phones[1].型号="huawei ";
        phones[1].号码="130 ";


        phones[2].拥有者="wm";
        phones[2].型号="vivo s10";
        phones[2].号码="139";

        
        for (int i =0;i<phones.Length;i++)
        {
            Console.WriteLine(phones[i].获取信息());
        }


    }
}